package com.service.admin.admin.service;

import com.service.admin.admin.controller.request.*;
import com.service.admin.admin.controller.response.SysUserResp;
import com.service.admin.admin.controller.response.UserInfoRep;
import com.service.admin.admin.model.SysUserPage;
import com.service.core.rest.response.CommonPageRep;

import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年08月01日</dd>
 * </dl>
 *
 * @author
 */
public interface SysUserService {

    UserInfoRep doLogin(LoginReq loginReq);

    CommonPageRep<SysUserPage> pageSysUser(SysUserPageReq userReq);

    void saveSysUser(SysUserReq sysUserReq);

    void resetPwd(UserResetPwdReq resetPwdReq);

    void modifyPwd(UserModifyPwdReq modifyPwdReq);

    void deleteSysUser(List<Integer> userIdList);

    SysUserResp getSysUserDetailById(Integer userId);

    void updateUserInfoBySession(UserModifyInfoReq userModifyInfoReq);

}
